-
Notifications
You must be signed in to change notification settings - Fork 13
Test against Python 3.11 in PR checks #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -23,5 +23,5 @@ exclude = ''' | |||
omit = ["*/tests/*", "*/management/*", "*/migrations/*"] | |||
|
|||
[tool.coverage.report] | |||
fail_under = 91 | |||
fail_under = 90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea why there's a coverage decrease?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question - I don't know. It seems to be an issue with 3.11.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And by "issue" I really mean "difference".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this, fixed in Coverage 6.4.2:
Updated for a small change in Python 3.11.0 beta 4: modules now start with a line with line number 0, which is ignored. This line cannnot be executed, so coverage totals were thrown off. This line is now ignored by coverage.py, but this also means that truly empty modules (like init.py) have no lines in them, rather than one phantom line. Fixes nedbat/coveragepy#1419.
https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst#version-642--2022-07-12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, curious about the coverage decrease though
Test against Python 3.11 in PR checks.
requirements.txt
orrequirements-dev.txt
pip install
succeeds with a clean virtualenv